package com.tsingxiao.codegenerate.service;

import com.tsingxiao.codegenerate.pojo.Demo;

import java.util.List;

/**
 * @author qingchang.tang
 * @date 2020/1/7 15:03
 */
public interface DemoService {

    /**
     * save
     *
     * @param o o
     * @return result
     */
    int save(Demo o);

    /**
     * list
     *
     * @return data
     */
    List<Demo> list();
}
